package com.djhu.freepartner.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.djhu.async")
public class AsyncProperties {

    private int coresize = 10;
    private int maxsize = 50;
    private int capacity = 5000;

    public int getCoresize() {
        return coresize;
    }

    public void setCoresize(int coresize) {
        this.coresize = coresize;
    }

    public int getMaxsize() {
        return maxsize;
    }

    public void setMaxsize(int maxsize) {
        this.maxsize = maxsize;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }
}
